import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


Vue.use(ElementUI);
Vue.config.productionTip = false

//中央事件总线$bus
Vue.prototype.$bus = new Vue()

//注册全局过滤器
import * as filters from '@/filters'
Object.keys(filters).forEach(v => {
  // 注册
  Vue.filter(v, filters[v])
})


//字体图标
import '@/assets/fonts/iconfont.css'

import '@/assets/css/reset.css'



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
